Method and system for the pre-processing and post processing of an audio signal for transmission on a highly disturbed channel

ABSTRACT

Method and system adapted to modifying an audio signal or speech signal comprising a step in which the frequency spectrum S(k) of the signal is converted by the application of a non-linear function. The method comprises at least the following steps: firstly, determining the signal level A(k), B(k) associated with a frequency k by taking account of different levels a(k), b(k) of the signal for the frequency k concerned and/or the neighboring frequencies (step 2a, step 8a); secondly, applying the non-linear function to said level A(k), B(k).

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The invention relates to a method and system for the pre-processing and post-processing of audio or speech digital signals in order to maintain the quality of the signal at the highest possible level when there is a high noise level.

[0003] There is a major need to provide high-quality encoding and decoding systems, especially in the digital audio field. In applications such as videoconferencing, video telephony and multimedia applications, the audio signals need to be transmitted with high fidelity whatever the characteristics of the transmission channels.

[0004] 2. Description of the Prior Art

[0005] In the system described in the patent application FR 2 815 492, also filed by the author of the present application and entitled “Radio broadcasting system and method providing continuity of service,” the discrete complex values of the information cells which normally convey QAM digital information (a limited number of permitted values generally equal to a power of two) are replaced by continuous values representing analog samples of the original or pre-processed audio signal. The quality of the audio signals at output is practically constant whatever the precise configuration of the channel.

[0006] The quality, even in frequency-selective channels, is similar to the quality of amplitude modulation (AM) in a Gaussian type channel with a broadcast power that may be less than {fraction (1/10)} of the power needed for true amplitude modulation, because no continuous carrier is transmitted.

[0007] This is due to the fact that the receiver carries out a (complex) gain compensation of the channel at each frequency and each point in time in such a way that, in theory, there is no variation of gain in the samples received.

[0008] It can be observed that the gain compensation especially has the following effect: in every case, the noise added to the samples received after the modulation has a flat frequency spectrum.

[0009] The noise is Gaussian with a simple channel and is varyingly impulsive with frequency-selective channels (channels comprising multiple propagation paths).

[0010] The patent application WO 98/06090 discloses a system and method implementing a non-linear transform on the signal in order to augment the perceptible quality of the audio or phonic signal. The non-linear transform is applied to each of the components Sk of the spectrum obtained after a windowing and Fourier transform step.

SUMMARY OF THE INVENTION

[0011] The system and method according to the invention propose a novel approach in which the processing operations are performed no longer in considering the components of the spectrum at a given frequency k but in taking account of a value derived for example from a mean or a smoothing operation around this frequency.

[0012] The invention proposes a system relying especially on the following three principles:

[0013] 1—the signal to be transmitted is an audio signal intended for the human ear (speech, music, etc),

[0014] 2—the frequency spectrum of the noise at the output of the demodulator is always flat, even if it is not Gaussian, when the propagation channel has multiple paths or is subjected to scrambling,

[0015] 3—the ear works as a bank of filters that covers the entire range of useful frequencies. If, at a given frequency (or for neighboring frequencies), the noise has lower power than the audio signals, then only the useful audio signals are detected (this is the mask effect).

[0016] The object of the invention is a method to modify an audio or speech signal comprising at least one step in which the frequency spectrum S(k) of the signal is converted by the application of a non-linear function, said non-linear function being applied to a signal level A(k), B(k) determined by taking account of different levels a(k), b(k) of the signal for the frequency k concerned and/or the neighboring frequencies (step 2a, step 8a).

[0017] The step 2a is performed for example before the transmission of the signal and the step 8a after the reception of the signal.

[0018] The processing operations at transmission and the processing operations at reception may be performed synchronously on signal sections having a one-to-one correspondence with each other.

[0019] The method comprises for example a step for the pre-accentuation of the audio signal at transmission, designed to give it a long-term frequency spectrum parallel to that of the reception noise and a step for the de-accentuation of the audio signal at reception.

[0020] For example, as a non-linear function, it implements the logarithmic function and the steps 2a and 8a may be carried out by smoothing the signal levels.

[0021] The invention also relates to a system for the pre-processing and post-processing of an audio or speech signal, wherein the transmitter and/or the receiver comprise at least one means adapted to:

[0022] determining the signal level A(k), B(k) associated with a frequency k in taking account of the different levels a(k), b(k) of the signal for the frequency k concerned and/or the neighboring frequencies (step 2a, step 8a),

[0023] applying a non-linear function to said level A(k), B(k).

[0024] It comprises for example an FIR type filter at the transmitter and the receiver. This filter may have positive coefficients.

[0025] The transmitter comprises for example a device for the pre-accentuation of the audio signal before it is transmitted and the receiver comprises a device for the de-accentuation of the audio signal.

[0026] The receiver may comprise a noise-clipping device.

[0027] In particular, the invention has the following advantages:

[0028] by combining the pre-processing and post-processing operations, an frequency spectrum of the noise is obtained, this frequency spectrum, which is originally flat, being modified in such a way that:

[0029] at the frequencies at which the audio signal is strong, the noise level is augmented,

[0030] at the frequencies at which the signal level is weak, the noise level is reduced.

[0031] The noise level is modified (increased or decreased) so that it remains below the useful signal for practically all the frequencies. This considerably augments the subjective quality of the audio signal, even if the total noise power is modified unpredictably.

[0032] Since the ear has “logarithmic” sensitivity (the intensity of the signal perceived at a given frequency is varyingly proportional to the logarithm of its real intensity), the main purpose of the pre-processing and post processing operations will be to correspondingly modify the logarithm of the intensity of the signal at each frequency or sub-frequency of the audio signal at the transmitter and then at the receiver.

BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Other features and advantages of the invention shall appear more clearly from the following detailed description of an embodiment, given as a non-restrictive example and illustrated by the appended figures, of which:

[0034]FIG. 1 shows the frequency spectra of the useful audio signal and of the noise at reception,

[0035]FIG. 2, shows the frequency spectra desired for the signals of FIG. 1,

[0036]FIG. 3 is a block diagram of the different steps at transmission according to the invention,

[0037]FIGS. 4 and 5 show the frequency spectra of the useful audio signal transmitted,

[0038]FIG. 6 is a block diagram of the different steps at reception,

[0039]FIGS. 7 and 8 show the frequency spectra of the useful audio signal and of the noise at reception.

MORE DETAILED DESCRIPTION

[0040]FIG. 1 is a graph of the intensity of the signal expressed in dB (on the y-axis depicted in a logarithmic scale) and the frequency given in Hz (on the x-axis) representing the frequency spectrum of the original or useful audio signal (curve I) and that of the noise at reception (stray signal) (curve II) obtained in prior art transmission systems. It is noted that for frequencies where the audio signal is weak (zones 1 et 2 in FIG. 1), the noise is clearly perceptible, thus leading to deterioration in audio quality.

[0041]FIG. 2 gives a diagrammatic view, in a reference system identical to that of FIG. 1, of the frequency spectra of the useful audio signal and of the noise at reception, as they would have to be in order to obtain practically perfect quality for the audio signal.

[0042] The curve I representing the audio signal has a level that is always higher than that of the curve II representing the spectrum of the noise at reception. The noise is “masked” throughout the frequency band considered. This leads to high perception quality: the noise is masked at all frequencies, even if its total power is the same as that of the noise whose spectrum is given by the curve II of FIG. 1.

[0043] The object of the invention relates to a system and a method whose goal in particular is to obtain the results illustrated by the curves of FIG. 2. The signal considered maybe an audio or phonic (speech) signal.

[0044] The system chosen draws inspiration from techniques well known to those skilled in the art as “noise shaping” and used in low-bit-rate vocoders but uses these techniques in a manner different from that of the vocoders. It is divided into two parts:

[0045] Transmitter Side

[0046] a pre-processing of the useful audio signal modifying the spectral composition of the audio signal transmitted in such a way that the mean frequency spectrum in time is approximately flat, i.e. “parallel to the spectrum of the noise generated on the receiver side after demodulation.

[0047] Receiver Side

[0048] a two-step post-processing operation on the receiver side:

[0049] a cleaning of the signal designed to eliminate the noise peaks (when the noise is no Gaussian)

[0050] a modification that is inverse to and substantially identical to the frequency spectrum of the audio (+noise), in order to have an audio signal with the same (or substantially the same) frequency spectrum as the non-processed signal.

[0051] The audio signal or speech signal concerned in the present invention has a structure known to those skilled in the art and will therefore not be used.

[0052] Transmitter

[0053] On the transmitter side, the method according to the invention comprises, for example, the following steps:

[0054] Step 1: Spectral analysis

[0055] A spectral analysis is carried out on the initial audio signal, for example by using a Fast Fourier Transform (FFT) with windowing and partial overlapping.

[0056] The quality of the final result depends on the size N of the FFT used, the shape of the window and the degree of overlapping. A possible choice, for a sampling frequency of 8 to 10 KHz, would lie for example in the use of an FFT of N=200 to 300 points, a Blackman-Harris type window with four terms and a quarter-window progression between two iterations. Other choices are possible and are dictated by a compromise between quality and complexity.

[0057] Step 2: Computation of the variation in gain

[0058] 2a—for each frequency k=0 . . . N/2, computing the level a(k) of the audio signal, a(k) being for example the square of the modulus of the complex value S(k) of the spectrum of the audio signal at this frequency. The idea of the invention consists especially of the application of a step for taking the average of the level a(k) of the signal for a given frequency k and at this frequency in order to execute the following steps of the method according to the invention on a smoothed value referenced A(k). For example the level determined for a given frequency k may be the weighted mean of the levels of the signal at the frequencies k−1, k and k+1.

[0059] This step executed from the transmitter side is used to obtain the best possible reconstitution of the original signal on the receiver side, it being known that, on the receiver side, the step gives adequate quality when there is a high noise level.

[0060] 2b—computing the approximate logarithm of this level L(k)=log(A₀+A(k)) to take account of the <<logarithmic>> sensitivity of the ear, where A₀ is a very small positive constant designed to prevent the problems of computation,

[0061] 2c—modifying this logarithm L(k) by using a simple linear conversion of the L′(k)=L₀+a(L(k)−L₀) type where L₀ is the reference level deduced from the averaged power of the input signal and “a” is a constant multiplier coefficient smaller than 1 (for example 0.5),

[0062] 2d—modifying the signal level at a frequency (or a group of frequencies) k, so that its logarithm becomes L′(k), by applying to S(k) a real gain g(k) equal to exp(0.5(L′(k)−L(k))), for example, which does not modify the phase of the components of the spectrum, and converts S(k) into S′(k)=g(k) S(k ). The factor 0.5 comes from the fact that g(k) is a gain in amplitude, while the values of L(k) are computed from the power values a(k) or A(k).

[0063] Step 3: returning to the time signal in using, for example, a reverse Fourier transform FFT⁻¹, a window and an overlap operation corresponding for example to those used in the step 1); this procedure is known to those skilled in the art as the “overlap-and-add” procedure.

[0064] The frequency spectrum of the useful audio signal obtained at the end of the step 3 is represented by the curve III of FIG. 4.

[0065] Step 4: in the temporal field, carrying out a pre-accentuation in order to augment the audio signal level for the high frequencies. The pre-accentuation is done, for example, by using a filter with the following form:

H(z)=(1+G)/(1+Gz ⁻¹)

[0066] taking G to be in the range of 0.7 for example for a sampling frequency in the range of 8 to 10 KHz.

[0067] This step gives a frequency spectrum that is as flat as possible in the long term.

[0068] The curve IV of FIG. 5 shows the effect of the pre-accentuation step on the curve III of FIG. 4, which leads to a modification solely of the level of the high frequencies.

[0069] The steps of the method described here above can be achieved by the installation of a software program in the transmitter or by modifying the electronic devices forming the transmitter.

[0070]FIG. 3 gives a schematic view, in the form of a simplified block diagram, of the different elements of the pre-processing unit of the encoder device, used to execute the above-mentioned steps 1 to 4.

[0071] The useful audio signal So is transmitted to:

[0072] An automatic gain control (AGC) system 10 whose function, in particular, is to limit the dynamic range of the audio signal at input in order to obtain an averaged power value that is practically constant in time (over a major duration), and that gives the signal S₁.

[0073] Thus, from the transmitter side, the average power of the cells containing the analog samples is the same as the power that ought to exist in the original all-digital system. This gain regulation is also carried out if the reference level L₀ of the audio signal is constant or varies slowly. The averaged power after the AGC must be proportional to L₀.

[0074] A device 11 whose function is to analyze the spectrum of the useful audio signal S₁ coming from the AGC system 10, in using for example a Fast Fourier Transform (FFT) with windowing and overlapping.

[0075] The windowing and the overlapping enable the signal to be reconstructed as perfectly as possible with a coefficient a=1, without aliasing or artifacts.

[0076] A device 12 to compute the gain modification which derives S′(k) from S(k). This device 12 comprises, for example, a device 121 used to compute the level a(k) and smoothen it in the frequency domain to obtain A(k), a device 122 to compute levels L(k), the step 2b), a device 123 enabling the conversion of L(k) into L′(k), step 2c).

[0077] The device 121 in particular has the function of obtaining a smoothed version of the spectrum of the audio signal S₁. The device 121 is for example a Finite Impulse Response (FIR) filter adapted to obtaining a measured value A(k) which is, for example, in practice, a linear combination of the real values a(k), a(k+/−1), a(k+/−2) etc.

[0078] A device 13 adapted to modifying the modulus or amplitude of the components of the initial frequency spectrum S(k), in taking account of the difference L′(k)−L(k) between the logarithms of the smoothed levels before and after transformation.

[0079] A temporal reconstruction system 14 based on a reverse Fourier Transform and on the <<overlap-and-add>> procedure.

[0080] A device 15 to pre-accentuate the signal in the time domain which gives the final samples that will be distributed in the in-phase and quadrature components of the free data cells of the transmitted frame (they replace the initial QAM cells).

[0081] According to one alternative embodiment of the system, the pre-accentuation can be done directly in the frequency domain, in replacing L′(k) by L′(k)+dL(k), where dL(k) is a constant increasing the gain according to the frequency k.

[0082] Receiver

[0083] At reception, the method comprises for example the following steps:

[0084] Step 5: clipping the noise pulses, the spectra of the useful signal and of the noise at reception are represented by the curves V and VI given in FIG. 7.

[0085] Step 6: de-accentuation: de-accentuating the signal by using the inverse of the filter used at the transmitter, 1.e, 1/H(z), step 4.

[0086] The frequency spectra of the useful signal and of the noise obtained are represented in FIG. 7 by curves referenced VII and VIII respectively.

[0087] Step 7: analysis of the signal: carrying out the analysis of the signal in the frequency domain (for example the same or substantially the same analysis as the one made at the transmitter, namely by using the same FFT size, N, substantially the same window of analysis and substantially the same overlap); this analysis must give, discounting the reception noise, the reception noise, the components S′(k) of the frequency spectrum of the signal modified at transmission.

[0088] Step 8

[0089] 8a—For each frequency (or group of frequencies) k, computing the smoothed level B(k), in a manner similar to that of the step 2b) by smoothing the signal b(k) which is the square of the module of S′(k), for example by considering a weighted mean of the values b(k) in the neighborhood of the frequency k,

[0090] 8b—computing the logarithm of this signal level L′(k)=log(A₀+B(k)) for each frequency k,

[0091] 8c—modifying this logarithm by using the inverse of the simple linear transform used on the transmitter side (a and L₀ have the same values as those used during transmission) which leads, for the example given in the step 2c) to L″(k)=L₀+(1/a) (L′(k)−L₀),

[0092] 8d—modifying the signal level at the frequency (or group of frequencies) k, in order to convert its logarithm into L″(k); this amounts to the application to S′(k) of a real gain equal to g′(k)=exp(0.5(L″(k)−L′(k))), again without modifying the phases of the components, to obtain S″(k)=g′(k) S′(k) which, if the reconstitution were to be perfect, would be equal to S(k).

[0093] Step 9—Returning to the temporal signal according to the same method as that used with the transmitter.

[0094]FIG. 8 shows the different curves resulting from the different processing steps. It can be seen that the noise level, curve IX, is below the level of the useful signal, the curve X, throughout the frequency domain considered. The curves XI and XII respectively correspond to the audio signal and to the noise level received after the de-accentuation step.

[0095] It can be seen that the post-processing similarly modifies (increases or reduces) the spectral components of the signal and of the noise: it does not modify the local signal-to-noise ratio (SNR). This SNR must be as high and uniform as possible throughout the audio bandwidth. Since the reception noise, but not the audio signal, shows a long-term flat spectrum, this provides a posteriori justification for the use of the pre-accentuation and the de-accentuation.

[0096] The pre-processing and post-processing operations may be and are preferably totally synchronized. This is obtained when each frame of the transmitted signal contains an exact number of audio frames because the receiver then knows exactly which sample of the initial signal is present in each of the cells: this increases the quality of the output signal, since the levels L′(k) in the receiver are exactly the same as the levels in the transmitter, and are not intermediate values obtained by a form of interpolation, for which the reconstruction would be of lower quality.

[0097] An exemplary receiver architecture for executing the steps 5 to 8 of the method is given in FIG. 6.

[0098] The components of the system or of the software are, for example, the following:

[0099] an adaptive clipping system 20 that eliminates the noise peaks when their distribution is not Gaussian. This system may, for example, evaluate a short-term RMS value (root-mean-square value) of the input signal and eliminate (zero-set or clip) the samples for which the absolute value of the amplitude is greater than K times the RMS value. The value of K may be estimated heuristically, in taking account of the statistical properties of the audio signal (Laplace distribution in a first approximation). A value of 5 to 8 may be used.

[0100] A de-accentuation device 21 which provides exact compensation for the pre-accentuation made at the transmitter.

[0101] A spectrum analysis device 22 which may be the same as the one (11) used in the transmitter.

[0102] A device 23 comprising a device 231 to carry out a smoothing of the signal level values according to the step 8a), a device 232 to compute the levels L′(k) (step 8b) and a device 233 to convert the value L′(k) into a value L″(k) (step 8c).

[0103] A device 24 to modify the amplitudes of the components in the frequency domain of the initial frequency spectrum in taking account of the differences L″(k)−L′(k) for a given value k.

[0104] A time domain signal reconstruction system 25 which may be the same as the device 14 used in the transmitter.

[0105] According to one alternative embodiment of the system, the device 231 may carry out the de-accentuation (elimination of the device 21) directly in the frequency domain by modifying the level L′(k) at the frequency k by a quantity equal to −dL(k), where dL(k) is the same gain increase constant as that of the transmitter.

[0106] For low signal-to-noise ratio values, the individual levels measured L′(k) are not exactly the same as in the transmitter because the noise has been added to the useful signal.

[0107] Since the noise samples (in the frequency domain) are independent at the frequencies k and k+n (whatever n may be), an FIR type low-pass filter is used to obtain a smoothed version of the spectrum of the amplitudes of the signal.

[0108] For example, if the level computed for the frequency k corresponds to a mean value of the levels of the signal for the frequencies k−1,k, k+1, the effect of the noise is three times less, i.e., the error made in the estimation of B(k) (from which L′(k is deduced)) is three times smaller than in the smoothing step, thus leading to an appreciably lower deterioration of the subjective quality.

[0109] The smoothing filters S(z) used at the transmitter and the receiver must naturally be identical to have the best possible reconstitution of the original audio signal. For example, for a smoothing that uses the frequencies k−3, . . . k+3, it is possible to obtain the signal level B(k) at the frequency k from the non-smoothed signals b(k) by using the filter F(z) given by:

F(z)=(z ³+6z ²+15z+20+15z ⁻¹+6z ⁻² +z ⁻³)/64

[0110] Or, more explicitly:

B(k)=(b(k+3)+6b(k+2)+15b(k+1)+20b(k)+15b(k−1)+6b(k−2)+b(k+3))/64

[0111] The noise reduction is equal to 924/4096, which corresponds approximately to −6.5 dB with this filter.

[0112] Of course, the smoothing can use a different low-pass filter F(z), or again be implemented by means that are more indirect but equally efficient. One of these means consists, for example, in carrying out the reverse Fourier transform of the levels b(k), to obtain self-correlation r(k), which is multiplied by a coefficient γ^(k) with γ below 1 and on which a Fourier transform is carried out to directly obtain the values of B(k).

[0113] According to a very general condition, the filter F(z) (or its equivalent depending on the method used) has coefficients that are all strictly positive in order to prevent the values of A(k) at transmission or the values of B(k) at reception from becoming negative or zero.

[0114] The use of the smoothing operation especially has the effect wherein, even without noise, the reconstruction of the spectrum is imperfect if the theoretical relationships between L(k), L′(k) and L″(k) are used as described here. Different (but complex) known relationships could be used to obtain perfect reconstruction, but would lead to a final audio signal that is paradoxically of lower subjective quality.

[0115] However, experience shows that, under normal conditions of use (medium or low signal-to-noise ratio), this low distortion is imperceptible because it <<follows>> the spectrum of the audio signal, and is masked by the noise. 

What is claimed is:
 1. A method to modify an audio or speech signal comprising at least one step in which the frequency spectrum S(k) of the signal is converted by the application of a non-linear function, said non-linear function being applied to a signal level A(k), B(k) determined by taking account of several levels a(k), b(k) of the signal for the frequency k concerned and/or the neighboring frequencies (step 2a, step 8a).
 2. A method according to claim 1, wherein the step 2a is performed for example before the transmission of the signal and the step 8a after the reception of the signal.
 3. A method according to one of the claims 1 to 2, wherein the processing operations at transmission and the processing operations at reception are performed synchronously on signal sections having a one-to-one correspondence with each other.
 4. A method according to one of the claims 1 to 3, comprising a step for the pre-accentuation of the audio signal at transmission and a step for the de-accentuation of the audio signal at reception.
 5. A method according to one of the claims 1 to 4, comprising a step for the clipping of the noise pulses at reception before the de-accentuation step.
 6. A method according to one of the claims 1 to 5, wherein the logarithmic function is used as a non-linear function.
 7. A method according to one of the claims 1 to 6, wherein the step 2a or the step 8a consists in smoothing the levels a(k), b(k).
 8. A system for the pre-processing and post-processing of an audio or speech signal, wherein the transmitter and/or the receiver comprise at least one means adapted to: determining the signal level A(k), B(k) associated with a frequency k in taking account of the different levels a(k), b(k) of the signal for the frequency k concerned and/or the neighboring frequencies (step 2a, step 8a), applying a non-linear function to said level A(k), B(k).
 9. A system according to claim 8 comprising an FIR type filter at the transmitter and the receiver.
 10. A system according to claim 9, wherein the filter has positive coefficients.
 11. A system according to one of the claims 8 to 10, wherein the transmitter comprises a device for the pre-accentuation of the audio signal before it is transmitted and the receiver comprises a device for the de-accentuation of the audio signal.
 12. A system according to one of the claims 8 to 11 wherein the receiver comprises a noise-clipping device. 